import request from '../utils/request'
//登录
function login(data) {
    return request.post("/api/login", data)
}

//注册
function register(data) {
    return request.post("/api/register", data)
}
//楼房
function hotRoom(data) {
    return request.get("/api/hotRoom", data)
}

//楼市圈
function housingRing(data) {
    return request.get("/api/housingRing", data)
}
// 经纪人 消息 排行榜
function newsList(data) {
    return request.get("/api/newsList", data)
}

//直播
function liveList(data) {
    return request.get("/api/liveList", data)
}

//团购
function tableData2(data) {
    return request.get("/api/tableData2", data)
}

export {
    login,
    register,
    hotRoom,
    housingRing,
    newsList,

    liveList,
    tableData2,

}